< previous page page_245 next page >

Page 245
warning.gif
Be sure you click the OK button after each field you define. If you just fill out the dialog box and then click the Close button, the information you entered on the form won't be saved to the database.

Now that you have defined Field1, let's define one more field. Enter Field2 as the name, and select Currency as the Field Type. Notice that you cannot set the field size. Only Text type fields allow you to set a field size. Now click the OK button to save this field definition; then exit the field definition dialog by clicking the Close button. The Table Structure dialog box should now show two fields defined. Refer to Figure 7.29 as a guide.
0245-01.jpg
Figure 7.29.
Table Structure with two fields defined.
Editing an Existing Field
When you return to the Table Structure screen, notice that the same set of properties you saw in the Add Field dialog box appears to the right of the Fields list. You can edit some of these values for the field by highlighting the field in the list on the left and editing the dialog values on the right. Make Field2 required by selecting the Required checkbox at the right side of the dialog box.
Building the Table
Before you leave this screen, you must first click the Build Table button to actually create the table in your database. Up to this point, Visdata has stored the data table and index definitions in memory. Clicking the Build the Table button is the step that actually creates the data table.

 
< previous page page_245 next page >

If you like this book, buy it!